package com.example.exercise.appmanage.system.mapper;

import com.example.exercise.appmanage.system.mapper.entity.MenuEntity;

import java.util.List;

public interface MenuMapper {
	//查询菜单列表
	List<MenuEntity> getMenuListByParentId(String menuparentid);
	//根据id查询菜单
	MenuEntity getMenuById(int id);
	//删除菜单
	void deleteById(int id);
	//添加一级菜单
	void saveMenu(MenuEntity menuEntity);
	//修改菜单
	void modifyMenu(MenuEntity menuEntity);

	MenuEntity getByMenuid(String menuid);

}
